@active_color: #1890FF;
// 独立的样式文件需要在main。js中引入
@import "./icons/iconfont.less";
body {
  margin: 0;
  background-color: #F0F2F5;
}

ul, li, ol {
  list-style: none;
}

.float-left {
  float: left;
}

.float-right {
  float: right;
}

.clear-float {
  clear: both;
}

.layout-center {
  display: flex;
  align-content: center;
  align-items: center;
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.w-100 {
  width: 100%;
}

.m-0 {
  margin: 0
}

.p-0 {
  padding: 0
}

.ml-1 {
  margin-left: 0.5rem;
}

.ml-2 {
  margin-left: 1rem;
}

.ml-3 {
  margin-left: 1.5rem;
}

.ml-4 {
  margin-left: 2rem;
}

.ml-5 {
  margin-left: 3rem;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mt-5 {
  margin-top: 3rem;
}

.pt-1 {
  padding-top: 0.5rem;
}

.pt-2 {
  padding-top: 1rem;
}

.pt-3 {
  padding-top: 1.5rem;
}

.pt-4 {
  padding-top: 2rem;
}

.pt-5 {
  padding-top: 3rem;
}

@content_padding: 20px;
.pagination-block {
  text-align: center;
  padding: @content_padding @content_padding 0;
}

.el-pagination {
  margin-top: @content_padding;
}

.page {
  background-color: #fff;
  padding: @content_padding;

  .page {
    padding: 0;
  }
}

.search-card {
  //padding: @content_padding;
  margin-bottom: 10px;
}

.user-avatar {
  display: inline-block;
  box-sizing: border-box;
  text-align: center;
  overflow: hidden;
  color: #fff;
  background: #c0c4cc;
  width: 40px;
  height: 40px;
  line-height: 40px;
  font-size: 14px;
  border-radius: 50%;
}

.d-flex {
  display: flex;

  .fill-flex {
    flex: 1;
  }
}

@calendar_item_size: 40px;
.user-index {
  .el-calendar-table {
    td {
      border: none !important;
    }

    .el-calendar-day {
      height: @calendar_item_size;
      font-size: 16px;
      text-align: center;
      line-height: @calendar_item_size;
      width: @calendar_item_size;
      border-radius: 50%;
      margin: 5px auto;
      padding: 0;

      &:hover {
        background-color: transparent;
      }
    }

    .is-today {

    }

    .is-selected, .is-selected:hover {
      background-color: transparent;

      .el-calendar-day {
        color: #ffffff;
        background-color: #409EFF;
      }
    }
  }
}

.min-h-30 {
  min-height: 30px;
}

.min-h-50 {
  min-height: 50px;
}

.min-h-100 {
  min-height: 100px;
}

.min-h-loading {
  min-height: 60px;
}

.el-col-24 {
  & + .el-col-24 {
    margin-bottom: 20px;
  }
}

.el-card {
  & + .el-card {
    margin-top: 20px;
  }

  .el-card__header {
    padding-bottom: 10px;
  }

  .el-card__body {
  }

  .el-card__header + .el-card__body {
    padding-top: 10px;
  }
}

.list {
  .list-item {
    cursor: pointer;
    padding: 10px;

    &:hover {
      color: @active_color;
    }
  }

  .title {
    margin-right: 20px;
  }
}

.notice-dialog {
  width: 600px;

  .el-message-box__title, .el-message-box__btns {
    text-align: center;
  }

  .el-message-box__btns {
    margin-top: 15px;
  }
}

.el-form-item {
  margin-bottom: 15px;
}

.el-tabs__content {
  padding: 0 20px;
}

.el-tabs__item {
  min-width: 200px;
  text-align: left !important;

  &.is-active {
    color: #409EFF;
    background-color: #E6F7FF;
  }
}
.el-tabs--left{
  display: flex;
  .el-tabs__header{
    height: auto !important;
  }
  .el-tabs__content{
    flex: 1;
  }
}
.el-tabs--left .el-tabs__nav-wrap.is-left::after{
  width: 1px !important;
}
.el-button,.el-input__inner {
  border-radius: 2px;
}

.el_input_focus {
  border-color: #409EFF;
  outline: 0;
  box-shadow: 0 0 0 2px rgba(24,144,255,0.2);
}

.el-input__inner {
  &:focus {
    .el_input_focus;
  }
}
